home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / demo / wit472.zip / LIB / HELP / MORPHO / GERODE / GERODE.bin
Text File  |  1994-11-25  |  1KB  |  29 lines

  1. OPERATOR
  2.  
  3. gerode --- greyscale erosion
  4.  
  5.  
  6. DESCRIPTION
  7.  
  8. The gerode operator performs erosion on greyscale images, but unlike the binary 
  9. berode operator the greyscale erosion is performed by computing the minimum 
  10. value within every neighbourhood of the input image. As with erosion, only 
  11. those pixels whose corresponding kernel bits are set are used to determine 
  12. the local minima. The kernel parameter allows the user to specify a vector of 
  13. integers corresponding to the structuring element to be applied to the input 
  14. image. The vector is treated as a binary input where all non-zero values are 
  15. considered to be equivalent to 1. For more on the use of the kernel, 
  16. consult the documentation or help for the gerode and bdilate operators. 
  17.  
  18. Pixels beyond the image boundary are assumed to be the maximum value possible 
  19. for the type of image being processed. This means that they will have no 
  20. effect when dealing with a minima calculation. 
  21.  
  22. Given a grayscale image I, the following identity holds for berode and gerode: 
  23.  
  24.  
  25.  
  26.    threshold(gerode(I)) = berode(threshold(I))
  27.  
  28. 
  29.